package com.inspector.app.util;

import android.os.Environment;

import com.inspector.app.BuildConfig;
import com.inspector.app.R;

public class ConstantUtil {

    public static final String MMKV_USERID = BuildConfig.APPLICATION_ID + "-" + "userid";

    //[离线地图文件路径]
    public static final String BASE_DIR = Environment.getExternalStorageDirectory() + "/efb";

    //[定位间隔和时间设置]
    public static double COORDINATE_INTERVAL_TIME = 0.1;
    public static double COORDINATE_INTERVAL_DIS = 1;


    // 2023/10/30 [单位设置-距离单位]
//    public static int Unit_Distance = R.id.rb_unit_distance_km;


    //[用户存储id-key]
    public static final String PERSISTENCE_USERID = BuildConfig.APPLICATION_ID + "_persistence_userid";
    //[用户存储id-value]
    public static String USERID = "";


    // 2023/10/30 [飞行状态栏-保存数据]
    public static final String FLIGHT_STATUS_BAR_KEY = BuildConfig.APPLICATION_ID + "_flight_status_bar_key";

    // 2023/10/30 [地图图层类型-保存数据]
    public static final String MAP_LAYER_TYPE = BuildConfig.APPLICATION_ID + "_map_layer_type";

    // 安装应用时间
    public static final String INSTALLDATE = BuildConfig.APPLICATION_ID + "_installDate";
    //记住密码
    public static final String REMEMBER_PASSWORD = "remember_password";//记住密码
    public static final String PASSWORD = "password";
    public static final String ACCOUNT = "account";


    public static final String MapSearchEngine = "MapSearchEngine"; //[当前地图搜索引擎]

    public static final String MapLocationEngine = "MapLocationEngine"; //[当前地图定位引擎]

    public static final String tifFilePath = Environment.getExternalStorageDirectory().getAbsolutePath() + "/efb/中国12级.tif";
}
